package com.boarsoft.boar.auth.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.boarsoft.boar.auth.SysUserService;
import com.boarsoft.boar.sys.SysUserBiz;
import com.boarsoft.boar.sys.entity.SysUser;

@Component("sysUserService")
public class SysUserServiceImpl implements SysUserService {
	@Autowired
	protected SysUserBiz sysUserBiz;

	@Override
	public SysUser get(String id) {
		SysUser u = sysUserBiz.get(id);
		u.setRoles(null);
		return u;
	}
}
